﻿<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>网上办事大厅首页</title>
    <link rel="stylesheet" type="text/css" href="App_Themes/SkinFile/CSS/gcpage.css" />
  
    <link rel="stylesheet" type="text/css" href="App_Themes/SkinFile/CSS/StyleSheet.css" />
    <script type="text/javascript" src="ScriptFile/jquery.js"></script>
    <script type="text/javascript" src="ScriptFile/cookie.js"></script>
    <script src="ScriptFile/Common/Jquery.Global.js" type="text/javascript"></script>
    <script src="ScriptFile/Common/Jquery.Common.js" type="text/javascript"></script>
    <script src="ScriptFile/loginValide.js" type="text/javascript"></script>
   
    <script type="text/javascript">
        //打开用户注册页面
        function clickRegister() {
            window.open("UserRegister/UserReg.aspx");
        }

        //初始加载
        $(document).ready(function () {
            var loginPage = GetConfig("loginPage");
            setCookie('loginPageUrl', loginPage);
        });

        function clickYzm() {
            $('#imgYzm').attr('src','CheckCode.aspx?rnd=' + Math.random());
        }
    </script>
</head>
<body style="background-color: #51AEC9;" onkeydown="EnterKeyClick()">
    <div style="text-align: center; margin: 0px auto;" class="page_box">
        <div class="sb_login">
            <div id="loginInput" style="padding-left: 20px; padding-top: 242px;float:left;">

                <div style="padding-left: 390px; padding-top: 25px; font-size:13pt;">
                    <table height="120">
                        <tr>
                            <td width="80" style="font-size:13pt;">用户名：</td>
                            <td style=" text-align:left"><input style="width: 140px; height: 16px" id="username" class="input" type="text" /></td>
                        </tr>
                        <tr>
                            <td style="font-size:13pt;">密&nbsp; 码：</tdstyle>
                            <td style=" text-align:left">
                                <input style="width: 140px; height: 16px" id="password"
                                       class="input" type="password" />
                            </td>
                        </tr>
                        <tr>
                            <td style="font-size:13pt;">验证码：</td>
                            <td style=" text-align:left">
                                <input style="width: 65px; height: 16px" id="txtCheckCode" class="input" type="text" />
                                <img src="CheckCode.aspx" alt="请点击刷新验证码" style="cursor: pointer" width="70px" height="22px"
                                     id="imgYzm" onclick="this.src='CheckCode.aspx?rnd=' + Math.random();" />
                                <a href="#" onclick="clickYzm();">换一张</a>
                            </td>
                        </tr>
                    </table>

                </div>
                <!--<div style="padding-left: 340px; padding-top: 20px;font-size:13pt;">

                </div>
                <div style="padding-left: 399px; padding-top:20px;font-size:13pt;">

                </div>-->
                <div style="padding-left: 340px; padding-top: 20px;font-size:13pt;">
                    <input id="btnLogin" class="button" onclick='validate()' value="登录" type="button" />
                    <input id="btnRegister" class="button" onclick="clickRegister()" value="注册" type="button" />
                </div>
            </div>

        </div>
    </div>
</body>
</html>
